/**
 * @file
 * @description 公共组件注册文件
 */


import { Button, Table, Input, Form, FormItem, Menu, MenuItem, MenuItemGroup, Submenu } from 'element-ui'


import components from 'com/index'


export default {
  install(Vue) {
    [components, Button, Table, Input, Form, FormItem, Menu, MenuItem, MenuItemGroup, Submenu].forEach(item => Vue.use(item))
  }
}